import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)
const tabbarModule = {
    namespaced: true, //命名空间
    state: {
        isTabbarShow: true,
    },
    mutations: {
        //修改tabbar显示隐藏
        hide(state, hide) {
            state.isTabbarShow = hide
        },
        show(state, show) {
            state.isTabbarShow = show
        },
    },
    actions: {}
}

export default tabbarModule